package com.iflytek.iot.common.monitor.configuration;

import com.iflytek.iot.common.monitor.MonitorDataHandler;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * @author zurun
 * @date 2020/7/20 16:22:28
 */
@Configuration
@ComponentScan("com.iflytek.iot.common.monitor")
public class IotMonitorConfig {
    @Bean
    public MonitorDataHandler monitorDataHandler() {
        return MonitorDataHandler.getInstance();
    }
}
